<template>
	<view class="popup">
		<!-- 房屋设施弹窗 start-->
		<fui-bottom-popup class="facilitGailan" :show="houseIsShow" @close="facilitclosePopup" style="position: relative; z-index: 9999;">
			<scroll-view scroll-y="true" style="min-height: 200rpx;">
				<!-- <image :src="baseOssUrl + 'icon/imgpn.png'" mode=""></image> -->
				<view class="fangwu">
					<view class="">
						{{titleName}}
					</view>
					<image :src="baseOssUrl +'icon/closePn.png' " mode="" @click="facilitclosePopup"></image>
				</view>

				<view>
					<slot name="cont"></slot>
				</view>

			</scroll-view>
		</fui-bottom-popup>
	</view>
</template>

<script>
	import {
		baseOssUrl
	} from '@/common/settings';
	export default {
		props: {
			titleName: '', 
		},
		data() {
			return {
				baseOssUrl:baseOssUrl,
				houseIsShow: false
			}
		},
		methods: {
			facilitclosePopup() {
				this.houseIsShow = false
			},
			_show() {
				this.houseIsShow = true;
			}
		}
	}
</script>

<style scoped lang="scss">
	// 弹窗标题×号
	.fangwu {
		font-size: 30rpx;
		font-weight: bold;
		margin: 30rpx 0;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;

		image {
			position: absolute;
			right: 45rpx;
			width: 22rpx;
			height: 22rpx;
		}
	}
</style>
